package com.recommend.recommend;

import com.dps.recommend.ann.LayerAnn;
import com.dps.recommend.beans.DpsRequest;
import com.dps.recommend.beans.RecItemDps;
import com.dps.recommend.beans.RecallProcessInterface;
import com.dps.recommend.enums.LayerEnum;
import com.google.common.collect.Lists;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: wujianghui
 * @Date: 2023/6/14 10:39
 */
@Service
@LayerAnn(layer = LayerEnum.RECALL)
public class TestRecall implements RecallProcessInterface {
    @Override
    public <R extends RecItemDps> List doProcess(DpsRequest dpsRequest, List<R> list) {
        RecItemDps recItemDps = new RecItemDps();
        recItemDps.setItemId("111");
        return Lists.newArrayList(recItemDps);
    }
}
